package md.sv.dbu.receiver;

/**
 * @author MG
 */
public interface MessageReceiver<T> {

    public interface ReceiverCallback {
        public boolean onReceive(String message);
    }

    void receiveMessages(T config, int maxMessageRead, ReceiverCallback receiverCallback);
}
